<?php
/* @var $this NgfxaccountController */
/* @var $model Ngfxaccount */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'ngfxaccount-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'user_id'); ?>
		<?php echo $form->textField($model,'user_id'); ?>
		<?php echo $form->error($model,'user_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'country_id'); ?>
		<?php echo $form->textField($model,'country_id'); ?>
		<?php echo $form->error($model,'country_id'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'email'); ?>
		<?php echo $form->textField($model,'email',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'email_pass'); ?>
		<?php echo $form->textField($model,'email_pass',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'email_pass'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'cl_pass'); ?>
		<?php echo $form->textField($model,'cl_pass',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'cl_pass'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fw_email'); ?>
		<?php echo $form->textField($model,'fw_email',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'fw_email'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'fw_email_pass'); ?>
		<?php echo $form->textField($model,'fw_email_pass',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'fw_email_pass'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'phone'); ?>
		<?php echo $form->textField($model,'phone',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'phone'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'state'); ?>
		<?php echo $form->textField($model,'state',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'state'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'city'); ?>
		<?php echo $form->textField($model,'city',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'city'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'link'); ?>
		<?php echo $form->textField($model,'link',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'link'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'proxy'); ?>
		<?php echo $form->textField($model,'proxy',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'proxy'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'remarks'); ?>
		<?php echo $form->textField($model,'remarks',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'remarks'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'last_posted_date'); ?>
		<?php echo $form->textField($model,'last_posted_date'); ?>
		<?php echo $form->error($model,'last_posted_date'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'date_of_birth'); ?>
		<?php echo $form->textField($model,'date_of_birth'); ?>
		<?php echo $form->error($model,'date_of_birth'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'username'); ?>
		<?php echo $form->textField($model,'username',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'username'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'password'); ?>
		<?php echo $form->passwordField($model,'password',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'password'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'verify_code1'); ?>
		<?php echo $form->textField($model,'verify_code1',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'verify_code1'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'verify_code2'); ?>
		<?php echo $form->textField($model,'verify_code2',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'verify_code2'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'working'); ?>
		<?php echo $form->textField($model,'working'); ?>
		<?php echo $form->error($model,'working'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->